Skip to main content

Merchant Status

Merchant Status

Service ini digunakan untuk melakukan pengecekan status merchant

Service Info

HTTP MethodPOST
Service Code23
Http MethodPOST
Path../v1.0/merchant/status
AuthenticationOAuth 2.0
Header NameTipe DataWajibDeskripsi
Content-TypeStringYapplication/json
X-TIMESTAMPStringYWaktu lokal klien saat ini yyyy-MM-ddTHH:mm:ss.SSSTZD format
X-PARTNER-IDStringYClient’s client_id (diberikan pada saat onboarding )
X-CHANNEL-IDStringYID channel merchant
X-SIGNATUREStringYDibuat dengan algoritma asymmetric with token : Signature Generation
X-EXTERNAL-IDStringYID external merchant (tidak boleh sama di hari yang sama)

Body

Nama FieldTipe DataWajibDeskripsi
notelp_pemilikStringYNomor telepon pemilik
{
"notelp_pemilik" :"628120026xxxx",
};

Response

ParameterTipe DataDeskripsi
responseCodeStringKode response
responseMessageStringPesan response
additionalInfoObjectInformasi tambahan.
titleStringtitle status
descriptionStringtitle status
statusIntegerstatus merchant
0 - Belum Disetujui
1 - Diterima
2 - Ditolak
merchantIdStringKode Unik setiap merchant
storeNameStringNama toko merchant
midStringmerchant unique id
nmidStringnational merchant id
{
"responseCode": "2002300",
"responseMessage": "Successful",
"additionalInfo": {
"title": "Berhasil",
"description": "Hore kamu berhasil jadi merchant speedcash lho",
"status": 1,
"merchantId": "121xxxx",
"storeName": "Toko kita",
"mid": "ID8273548xxxx",
"nmid": "ID23465xxxx"
}
}

List Response Code

Response CodeResponse MessageDescription
2002300Success
4002301Invalid field format { field name }
4012300Unauthorized. Invalid SignatureX-Signature salah
4092300Cannot use same X-EXTERNAL-ID in same dayX-External-ID sudah pernah digunakan di hari yang sama
4042301Bad RequestRequest header ada yang salah / kurang
4042300Unauthorized. Client Forbidden Access APIPartner tidak dapat mengakses api terkait
5002301General ErrorTerjadi kesalahan